package com.yeung.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import com.yeung.starter.HelloServ;

/**
 * 引入自定义stater的测试
 */
@RestController
public class TestStaterController {
    @Autowired
    HelloServ helloServ;

    @GetMapping("/stater/test")
    public String test() {
        return helloServ.sayHello("yeung");
    }

}
